.nav-header {
  position: fixed;
  top: 0;
  left: -45px;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 100px;
  background: #fff;
  font-family: '微软雅黑', Arial, sans-serif;
  overflow: visible;
}

.nav-left {
  display: flex;
  align-items: center;
margin-left: 20px;
}

.nav-logo {
  width: 180px;
  height: 100px;
  margin-left: 100px;
}

.nav-title {
  color: #fa8c16;
  font-size: 22px;
  font-weight: bold;
  margin-right: 6px;
}

.nav-dot {
  color: #fa8c16;
  font-size: 18px;
  margin-right: 16px;
  margin-left: 2px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 28px;

}

.nav-item {
  color: #222;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 5px;
}

.nav-enterprise {
  color: #7c5a1c;
  font-weight: bold;
  position: relative;
}

.nav-red {
  color: #f5222d;
  font-weight: bold;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: #e5e5e5;
  margin: 0 16px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-vip-tag {
  color: #222;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.nav-login {
  display: flex;
  align-items: center;
  color: #222;
  font-size: 16px;
  cursor: pointer;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 6px;
  background: #f5f5f5;
  border: 1px solid #eee;
}

.nav-bubble-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-bubble {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 12px;
  font-size: 14px;
  border-radius: 16px;
  white-space: nowrap;
  z-index: 2;
  font-weight: normal;
  line-height: 22px;
}

.nav-bubble-enterprise {
  background: #f5c97b;
  color: #7c5a1c;
  position: relative;
  
}
.nav-bubble-enterprise::after {
  content: '';
  position: absolute;
  left: 20%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #f5c97b;
}

.nav-bubble-vip {
  background: #fa8c16;
  color: #fff;
  position: relative;
 
}
.nav-bubble-vip::after {
  content: '';
  position: absolute;
  left: 15%;
  top: 100%;
  transform: translateX(-30%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #fa8c16;
}

.nav-bubble-enterprise,
.nav-bubble-vip {
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
}

.nav-bubble-enterprise::after,
.nav-bubble-vip::after {
  content: '';
  position: absolute;
  left: 25%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.nav-bubble-enterprise::after {
  border-top: 7px solid #f5c97b;
}

.nav-bubble-vip::after {
  border-top: 7px solid #fa8c16;
}

.nav-item:hover,
.nav-vip-tag:hover,
.nav-login:hover {
  color: #fa8c16;
}

/* 二级菜单样式 */
.nav-dropdown {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 12px;
  color: #666;
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
  color: #fa8c16;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  padding: 24px;
  min-width: 800px;
  z-index: 10000;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
  max-height: 600px;
  overflow-y: auto;
  animation: fadeInDown 0.3s ease-out;
}

/* 小三角边框 */
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #e5e5e5;
  z-index: 1;
}

.nav-submenu::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  z-index: 2;
}

/* 动画效果 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 顶部横幅样式 */
.submenu-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #ffc107;
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-text {
  color: #8b4513;
  font-size: 14px;
  font-weight: 500;
}

.banner-button {
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.banner-button:hover {
  background: #e55a2b;
}

/* HOT标签样式 */
.hot-tag {
  position: relative;
}

.hot-tag::after {
  content: 'HOT';
  position: absolute;
  right: -8px;
  top: -2px;
  background: #ff4757;
  color: white;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: bold;
  line-height: 1;
}

/* 优化菜单项样式 */
.submenu-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.submenu-item:hover {
  background: #f8f9fa;
}

.submenu-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid #fa8c16;
  position: relative;
}

.submenu-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fa8c16;
}

.submenu-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.submenu-link {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  padding: 4px 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: 4px;
  position: relative;
  line-height: 1.4;
}

.submenu-link:hover {
  color: #fa8c16;
  background: #fff7e6;
  transform: translateX(4px);
}
